package com.example.vote.bean;

import java.io.Serializable;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * t_vote
 *
 * @author
 */
@TableName("t_vote")
@Data
public class TVote implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 选项名称
     */
    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("工号")
    private String phone;


    /**
     * 投票数
     */
    private Integer voteCount;

    /**
     * 投票项目id
     */
    private String itemId;

    /**
     * 描述
     */
    private String des;

    /**
     * 分数
     */
    @TableField(exist = false)
    private Double score;

    private String img;

    private static final long serialVersionUID = 1L;
}
